Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext


~Sarah Ekfanater 3.Dec.03 10:21 AM a Web browser
Domino Designer 6.0.2 CF2 Windows 2000


Hi guys,

another misterious situation with Lotus Notes.

I have a class called ASAConfig, I initialize it in another scriptlib using the new statement.

In my class ASAConfig I have a property which returns a configdocument ( Notesdocument ).

The code of the property is the following:
Function getConfigDocument ( strView As String, strKey As String ) As Notesdocument
On Error Goto errHandler

Dim lkpDB As NotesDatabase
Dim viwConfig As NotesView
Dim docConfig As NotesDocument

Set lkpDB = Me.LocalLookUpDB ' (returns the config-database )
Set viwConfig = lkpDB.getView ( strView )
Set Me.docConfig = viwConfig.getDocumentByKey ( strKey )
Set getConfigDocument = docConfig

leave:
Exit Function
errHandler:
Set getConfigDocument = Nothing
Resume leave
End Function

Seems to be correct, when I try to use the function and debug it all seems to be correct, I have all the variables and objects declared and with the correct values. As soon as I leave the function my returnvalue on the other scriptlib is empty.

Can anybody give me some tips or help me ?

Thanks in advance

M. Weller






Class property from another ScriptL... (~Sarah Ekfanate... 3.Dec.03)
. . this is an old problem (although I ... (~Julia Umhipibu... 3.Dec.03)
. . . . RE: this is an old problem (althoug... (~Naomi Deskrote... 3.Dec.03)
. . . . . . RE: this is an old problem (althoug... (~Paul Elvelu 4.Dec.03)
. . SOLUTION !!! Class property from an... (~Sarah Ekfanate... 19.Jan.04)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS